package com.zjm.structural.adapter.objectadapter;

public class Client {
    public static void main(String[] args) {
        Phone phone = new Phone();
        // 手机使用适配器（充电器）充电
        phone.charging(new VoltageAdapter(new Voltage220V()));
    }
}
